home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
asmutil
/
asmhelp.zip
/
MAKEEXE.BAT
< prev
next >
Wrap
DOS Batch File
|
1987-10-30
|
428b
|
27 lines
ECHO OFF
IF EXIST %1.ASM GOTO ASM
:
ECHO MAKEEXE: %1.ASM NOT FOUND
GOTO END
:
:ASM
IF EXIST %1.OBJ DEL %1.OBJ
IF EXIST %1.LST DEL %1.LST
IF EXIST %1.EXE DEL %1.EXE
IF EXIST %1.MAP DEL %1.MAP
IF EXIST %1.SYM DEL %1.SYM
TM START /C1 /N
MASM %1.ASM,%1.OBJ,%1.LST;
ECHO
IF ERRORLEVEL 1 GOTO CLEANUP
:
LINK %1.OBJ,%1.EXE,%1.MAP /MAP;
MAPSYM %1.MAP
:
:CLEANUP
DEL %1.OBJ
TM STOP /C1 /N /L
:
:END
ECHO